<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title></title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <link rel="stylesheet" href="css/ui-base.css">
        <link rel="stylesheet" href="css/ui-box.css">
        <script src="js/zy_control.js"></script>
        <script src="js/zy_click.js"></script>
        <script src="js/jquery-1.8.3.min.js"></script>
        <script src="js/main.js"></script>
		<script src="js/talkingdata.js"></script>
        <style>
            .bgi {
                background-image: url(images/bcImage.png)
            }
             .return {
                background-image: url('images/delaySchedule1.png');
                height: 1.25em;
                width: 1.25em;
            }
            .t-wh
            {
                color:white;
            }
            .nav-btn {
                min-height: 2em;
                min-width: 4em;
                display: -webkit-box !important;
                display: box !important;
                position: relative;
                -webkit-box-align: center;
                box-align: center;
                -webkit-box-pack: center;
                box-pack: center;
            }
        </style>
    </head>
    <body class="um-vp " ontouchstart>
        <div id="page_0" class="up ub ub-ver bc-bg ub-img4 bgi" tabindex="0">
            <!--header开始-->
          <div id="header" class="uh ub bc-text-head t-wh" style="background-color: #36395c">
                <div class="nav-btn" id="nav-left">
                    <div class="return ub-img" onclick="closeWidget()"></div>
                </div>
                <h1 class="ut ub-f1 ulev0 ut-s tx-c " id="date" tabindex="0" onclick="openDate()"></h1>
                <div class="nav-btn nav-bt" id="nav-right"></div>
            </div>
            <!--header结束--><!--content开始-->
            <div id="content" class="ub-f1 tx-l">
 
            </div>
            <!--content结束-->

        </div>
       
    </body>
    <script>
        zy_init();
        window.uexOnload = function(type) {
            if (!type) {
               //点击设备返回键时则退出子应用
                uexWindow.setReportKey(0, 1);
                uexWindow.onKeyPressed = function(keyCode){
                    if (keyCode == 0){
                         uexWidget.finishWidget('1');
                    } 
                }
                openDate();
               zy_con("content", "chaoshou_content.html", 0, $$("header").offsetHeight);
			   IC.talkingDataCount("超售情况","0022");
            }
        }
        function closeWidget(){
            uexWidget.finishWidget('1');
			IC.talkingDataCount("超售情况","0022");
        }
        function openDate(){
			IC.talkingDataCount("超售情况","0022");
            var date= new Date();
            var month = checkDate(date.getMonth() + 1);
            document.getElementById("date").innerHTML = month + "月超售情况"; 
        }
        function checkDate(date){
                if(date <　10){
                   date= "0" + date;
                }
                return date;
        }
       
    </script>
</html>